<!DOCTYPE html>
<html lang="zh-CN">
    <head>
<meta charset="utf8">
    <title>修改电影信息</title>
    <link rel="stylesheet" type="text/css" href="__PUBLIC__/bootstrap/css/bootstrap.min.css"/>
    <script type="text/javascript" src="__PUBLIC__/bootstrap/js/jquery.min.js"></script>
    <script type="text/javascript" src="__PUBLIC__/bootstrap/js/bootstrap.min.js"></script>
</head>
<body>
<h1>电影信息修改，我氧化钙</h1>



<form method="post" action="update" enctype="multipart/form-data" class="form-horizontal">
  <input type="hidden" name="vid" value="{$videos.vid}">
  <div class="form-group">
    <label  class="col-sm-2 control-label">电影名称：</label>
        <div class="col-sm-5">
            <input type="text" class="form-control" name="videoname" value="{$videos.videoname}">
        </div>
  </div>


  <div class="form-group">
    <label class="col-sm-2 control-label">上传时间：</label>
        <div class="col-sm-5">
             <input type="date" class="form-control" name="uploaddate" value="{$videos.uploaddate}">
         </div>
  </div>

  <div class="form-group">
    <label class="col-sm-2 control-label">下载地址：</label>
        <div class="col-sm-5">
         <input type="text" class="form-control" name="address" value="{$videos.address}" >
         </div> 
  </div>

   

  <div class="form-group">
    <label class="col-sm-2 control-label">电影介绍：</label>
        <div class="col-sm-5">
            <textarea name="intro" class="form-control" rows="3">{$videos.intro}</textarea>
         </div> 
  </div>

<div class="form-group">
        <label class="col-sm-2 control-label">电影类型：</label>
        <div class="col-sm-5">
        <select name="tic" class="form-control">
        <option value="0"<if condition="$videos.tic eq 0"> selected</if>>电影</option>
        <option value="1"<if condition="$videos.tic eq 1"> selected</if>>动画</option>
        <option value="2"<if condition="$videos.tic eq 2"> selected</if>>电视剧</option>
         </select>
         </div>      
 </div>


 <div class="form-group">
<label class="col-sm-2 control-label">上传用户：</label>
    <div class="radio">
        <label >
        <div class="col-sm-5">  
        <input type="radio" name="uploadadmin" value="1"<if condition="$videos.uploadadmin eq 1"> checked </if>>管理员1</div>
        <div class="col-sm-5">
        <input type="radio" name="uploadadmin" value="0"<if condition="$videos.uploadadmin eq 0"> checked </if>>管理员0</div>
        </label>
    </div>
</div>

<div class="form-group">
        <label for="image" class="col-md-2 control-label">头像</label>
        <div class="col-md-3">
            <img clas="img-rounded" id="image" src="__PUBLIC__/uploads/photo/{$videos.pic}" alt="头像不存在"/>
        </div>
        </div>

      <div class="form-group">
        <label  class="col-sm-2 control-label">海报：</label>
        <input type="file" name="pic">
      </div>


  <div class="col-md-2 col-md-offset-5">
        <button type="submit" class="btn btn-default">修改用户</button>
    </div>


</form>
</body>
</html>


